<div class="side_item">
    <h1 class="title"><?php echo $title; ?></h1>
    <div class="content">
        <?php if (count($news) > 0): ?>
            <ul class="news">
                <?php
                foreach ($news as $new):
                    $this->load->view('news_content', array('new' => $new));
                endforeach;
                ?>
            </ul>
            <?php
        endif;
        echo (isset($pagination) && trim($pagination) != '') ? '<div class="pagination fright">' . $pagination . '</div>' : '';
        ?>
    </div>
</div>